import com.alibaba.excel.EasyExcel;

import java.util.ArrayList;

public class ExcelDemo {
    public static void main(String[] args) {
//        ArrayList<DemoData> list = new ArrayList<>();
//        list.add(new DemoData("123","cxw"));
//        EasyExcel.write("E:\\demo.xlsx", DemoData.class).sheet("学生列表").doWrite(list);

        EasyExcel.read("E:\\\\demo.xlsx",DemoData.class,new ExcelListener()).sheet().doRead();

    }
}
